home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
programr
/
upc12bs1.zip
/
LIB
/
lock.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-06
|
1KB
|
29 lines
/*--------------------------------------------------------------------*/
/* l o c k . c */
/* */
/* Locking functions for UUPC/extended */
/* */
/* Copyright (c) 1992 by Kendra Electronic Wonderworks; all */
/* rights reserved except those explicitly granted by the */
/* UUPC/extended license. */
/*--------------------------------------------------------------------*/
typedef struct {
char lname[FILENAME_MAX];
FILE *locket;
} LOCKSTACK;
extern boolean locked;
void UnlockSystem( void );
boolean LockSystem( const char *system , long program );
/*--------------------------------------------------------------------*/
/* Allow an additional local lock */
/*--------------------------------------------------------------------*/
void PushLock( LOCKSTACK *top );
void PopLock( LOCKSTACK *top );